package com.haistand.module.common.map;

/**
 * Created by anjero on 14-7-7.
 */
public class Result {
    private Location location;
    private int precise;
    private int confidence;
    private String level;

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public int getPrecise() {
        return precise;
    }

    public void setPrecise(int precise) {
        this.precise = precise;
    }

    public int getConfidence() {
        return confidence;
    }

    public void setConfidence(int confidence) {
        this.confidence = confidence;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Result{");
        sb.append("location=").append(location.toString());
        sb.append(", precise=").append(precise);
        sb.append(", confidence=").append(confidence);
        sb.append(", level='").append(level).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
